package com.zonhar.autofeed.entities.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 传感器数据采集日志表
 * @author Chenhua
 * @date 2023-04-13
 */
@Data
@TableName("sensor_log")
public class SensorLogEntity implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 传感器名称
     */
    private String sensorName;

    /**
     * 数据
     */
    private String data;

    /**
     * 创建时间
     */
    private Date createDate;
}
